OPC Studio User's Guide and Reference
ToDAVtqResult Method (EasyDAItemChangedEventArgs<TValue>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemChangedEventArgs<TValue> Class : ToDAVtqResult Method
The typed event arguments to be converted.
Converts typed event arguments to a corresponding typed result object, DAVtqResult<TValue>.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function ToDAVtqResult( _
   ByVal eventArgs As EasyDAItemChangedEventArgs(Of TValue) _
) As DAVtqResult(Of TValue)
'Usage
 
Dim eventArgs As EasyDAItemChangedEventArgs(Of TValue)
Dim value As DAVtqResult(Of TValue)
 
value = EasyDAItemChangedEventArgs(Of TValue).ToDAVtqResult(eventArgs)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public static DAVtqResult<TValue> ToDAVtqResult( 
   EasyDAItemChangedEventArgs<TValue> eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
static DAVtqResult<TValue^>^ ToDAVtqResult( 
   EasyDAItemChangedEventArgs<TValue^>^ eventArgs
) 

Parameters

eventArgs
The typed event arguments to be converted.

Return Value

The typed result object that corresponds to the event arguments. null if the event arguments passed in were null.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also